package com.lucenten.collect.gnss.service;

import cn.quevo.common.entity.PageResult;
import com.lucenten.collect.gnss.entity.ObsErvation;
import com.lucenten.collect.gnss.entity.query.ObsErvationQuery;

import java.util.Map;

/**
 * O文件实时统计信息 Service
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2019/04/28 22:22:41
 * @Copyright 东方浩星（北京）传媒科技有限公司版权所有.All Rights Reserved.
 */
public interface ObsErvationService {

    /**
     * 根据ID获取O文件实时统计信息
     *
     * @param obsErvationQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2019/04/28 22:22:41
     */
    Map<String,Object> getSinge(ObsErvationQuery obsErvationQuery);

    /**
     * 创建O文件实时统计信息
     *
     * @param obsErvation
     * @return
     * @author July july_sky@foxmail.com
     * @date 2019/04/28 22:22:41
     */
    Integer create(ObsErvation obsErvation);

    /**
     * 更新O文件实时统计信息
     *
     * @param obsErvation
     * @return
     * @author July july_sky@foxmail.com
     * @date 2019/04/28 22:22:41
     */
    Integer update(ObsErvation obsErvation);

    /**
     * 分页获取O文件实时统计信息
     *
     * @param obsErvationQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2019/04/28 22:22:41
     */
    PageResult<Map<String,Object>> getPage(ObsErvationQuery obsErvationQuery);
}
